/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package posjava2012.aula1.exercicios;

import java.util.Vector;

/**
 *
 * @author Antonio
 */
public class CarregaCargo {

    public static Vector<Cargo> getCargos() {
        Vector<Cargo> cargos = new Vector<Cargo>();
        Cargo c;
        c = new Cargo();
        c.setNome("Gerente");
        c.setPercentual(5.0);
        cargos.add(c);
        c = new Cargo();
        c.setNome("Técnico");
        c.setPercentual(7.5);
        cargos.add(c);
        c = new Cargo();
        c.setNome("Auxiliar");
        c.setPercentual(10.0);
        cargos.add(c);
        c = new Cargo();
        c.setNome("Outros");
        c.setPercentual(4.0);
        cargos.add(c);
        return cargos;
    }

}
